#ifndef MASTER_H
#define MASTER_H

class Widget;
class Date;
class SqlEditDialog;
class Master
{
public:
    static Master *getMaster();
    ~Master();
    Widget *getWidget();
    void setWidget(Widget *widget);
    void setDate(Date *date);
    Date *getDate();
    static SqlEditDialog *getDataManager();

private:
    Master();
private:
    static Master *m_master;
    Widget *m_wigdet;
    Date *m_date;
    //SqlEditDialog *m_sqlEditDlg;
};

#endif // MASTER_H
